package com.fallsvc.re.networkprogramming.timer;

import java.util.Timer;
import java.util.TimerTask;

/**
 * @auther falls_vc
 * description:
 * @date 2025/10/29  10:16
 */
public class Demo1 {
    public static void main(String[] args) {
        Timer timer = new Timer();

        timer.schedule(new TimerTask() {
           @Override
           public void run() {
               System.out.println("打印测试!!!");
           }
        }, 3000);

    }
}
